<!DOCTYPE html>
<html lang="zh-Hans-CN">
<head>
    <taglib name="app\portal\taglib\Portal"/>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width" />
    <meta name="keywords" content="{$site_info.site_seo_keywords|default=''}"/>
    <meta name="description" content="{$site_info.site_seo_description|default=''}">
    <title>{$site_info.site_name|default=''}-首页</title>
    <meta name="keywords" content="{$site_info.site_seo_keywords|default=''}"/>
    <meta name="description" content="{$site_info.site_seo_description|default=''}">
    <link rel="shortcut icon" type="image/x-icon" href="__TMPL__/public/assets/image/icon.png">
    <link href="__TMPL__/public/assets/layui/css/layui.css" rel="stylesheet" type="text/css">
    <link href="__TMPL__/public/assets/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <link href="__TMPL__/public/assets/css/index_style.css" rel="stylesheet" type="text/css">
    <link href="__TMPL__/public/assets/css/animate.min.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="menu" class="hover_animation menu_open" data-mark="false">
    <span></span>
    <span></span>
    <span></span>
</div>
<div id="navgation" class="navgation navgation_close">
    <ul class="point">
        <navigation nav-id="1" root="">
            <navigationMenu root="li" class="menu-item menu-item-level-{$level}">
                <a href="{$menu.href|default=''}" target="{$menu.target|default=''}">{$menu.name|default=''}</a>
            </navigationMenu>
        </navigation>
    </ul>
    <div class="logo"><a>Mr.WuXian</a></div>
</div>
<div class="section" id="section1">
    <div class="fp-tablecell">
        <div class="page1">
            <div class="nav wow zoomIn" data-wow-duration="2s">
                <h1>{$site_info.site_name|default=''}。</h1>
                <p>唯有你，仗剑走天涯无惧无畏。</p>
                <a class="layui-btn layui-btn-normal" style="margin-top: 20px" href="/portal/list">Enter Blog</a>
            </div>
            <a class="next wow fadeInUp" data-wow-duration="2s" id="next"></a>
        </div>
    </div>
</div>
<div class="section" id="section2">
    <div class="fp-tablecell">
        <div class="page2">
            <div class="warp-box">
                <div class="new-article">
                    <div class="inner wow fadeInDown" data-wow-delay=".2s">
                        <h1>热门文章</h1>
                        <p>
                            每当天空阴沉，雨滴落下，我都会想起那年的下雨天。
                            <br>你的笑容在雨中绽放，成为我最美的风景。
                        </p>
                    </div>
                </div>
                <div class="layui-row">
                    <portal:articles limit="3" order="post.post_hits DESC" relation="categories">

                        <div class="layui-col-xs12 layui-col-sm4 layui-col-md4  wow fadeInUp" data-wow-delay=".{$key}s" style="padding: 0 10px">
                            <div class="single-news">
                                <div class="news-head">
                                    <img src="{:cmf_get_image_url($vo.thumbnail)}">
                                    <a href="{:cmf_url('portal/Article/index',array('id'=>$vo['id']))}" class="link"><i class="fa fa-link"></i></a>
                                </div>
                                <div class="news-content">
                                    <h4>
                                        <a href="{:cmf_url('portal/Article/index',array('id'=>$vo['id']))}">
                                            {$vo.post_title}
                                        </a>
                                    </h4>
                                    <div class="date">
                                        {:date('Y-m-d', $vo.published_time)}
                                    </div>
                                    <p>
                                        {$vo.post_excerpt}
                                    </p>
                                    <a href="{:cmf_url('portal/Article/index',array('id'=>$vo['id']))}" class="btn">
                                        阅读更多
                                    </a>
                                </div>
                            </div>
                        </div>

                    </portal:articles>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="section" id="section3">
    <div class="fp-tablecell">
        <div class="page3">
            <div class="warp-box">
                <div class="warp">
                    <div class="inner">
                        <div class="links">
                            <ul>
                                <li class="wow fadeInLeft"><a href="/about.html">关于我</a></li>
                                <li class="wow fadeInRight"><a href="#">+友情链接</a></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="section" id="section4">
    <div class="fp-tablecell">
        <div class="page4">
            <div class="warp-box">
                <div class="about">
                    <div class="inner">
                        <h1 class="wow fadeInLeft">孤独患者</h1>
                        <p class="wow fadeInRight">
                            爱好游戏，武侠。闲来无事喜欢在一些不健康的场所虚度光阴，撸起代码就会废寝忘食。
                        </p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<footer class="footer wow fadeInUp" id="contact">
    <div class="footer-top">
        <div class="container">
            <div class="layui-row">
                <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                    <div class="single-widget about">
                        <div class="footer-logo">
                            <h2>无限。</h2>
                        </div>
                        <p>剑气纵横三万里，一剑光寒十九洲。</p>
                        <div class="button">
                            <a href="/about.html" class="btn layui-btn layui-btn-normal">About Me</a>
                        </div>
                    </div>
                </div>
                <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                    <div class="single-widget">
                        <h2>相关链接</h2>
                        <ul class="social-icon">
                            <li class="active"><a href="/portal/list"><i class="fa fa-book"></i>博文</a></li>
<!--                            <li class="active"><a href="#"><i class="fa fa-comments"></i>留言</a></li>-->
<!--                            <li class="active"><a href="#"><i class="fa fa-share"></i>资源</a></li>-->
                            <li class="active"><a href="/portal/diary/index"><i class="fa fa-snowflake-o"></i>日记</a></li>
<!--                            <li class="active"><a href="#"><i class="fa fa-files-o"></i>归档</a></li>-->
                        </ul>
                    </div>
                </div>
                <div class="layui-col-xs12 layui-col-sm12 layui-col-md4">
                    <div class="single-widget contact">
                        <h2>联系我</h2>
                        <ul class="list">
<!--                            <li><i class="fa fa-map"></i>地址: 四川成都金牛区金科北路39号</li>-->
                            <li><i class="fa fa-qq"></i>QQ: {$site_info.site_gwa|default=''} </li>
                            <li><i class="fa fa-envelope"></i>邮箱: {$site_info.site_admin_email|default=''}</li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="copyright">
        <div class="container">
            <div class="layui-row">
                <div class="layui-col-xs12 layui-col-sm12 layui-col-md12 text-center">
                    <p>Copyright &copy; {$site_info.site_icp|default=''}</p>
                </div>
            </div>
        </div>
    </div>
</footer>
<script src="__TMPL__/public/assets/layui/layui.js"></script>
<script src="__TMPL__/public/assets/js/wow.min.js"></script>
<script src="__TMPL__/public/assets/js/index.js"></script>
</body>
</html>